//
//  DismountOverFootView.m
//  TrunkIndustryManageSystem
//
//  Created by WT_lyy on 15/4/29.
//  Copyright (c) 2015年 李璐西. All rights reserved.
//

#import "DismountOverFootView.h"
#import "BiDismountEntity.h"
@implementation DismountOverFootView

- (void)dataFill:(BiDismountEntity *)entity{

    self.labChecker.text = entity.acceptancePersonName;
    
    self.labCheckTime.text = entity.acceptanceDate;
    
    
    self.labApprover.text = entity.dismountApprovePersonName.length==0?[BiUserEntity sharedInstance].name:entity.dismountApprovePersonName;
    self.labApproveTime.text = entity.dismountApproveDate.length==0?[BiUtil stringFromFomate:[NSDate date] formate:@"yyyy-MM-dd hh:ss"]:entity.dismountApproveDate;
    
    self.textViRsn.text = entity.dismountAcceptanceRejectReason;
    
    
    
}
@end
